package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.RobCaseManagementDao;
import io.renren.modules.generator.entity.RobCaseManagementEntity;
import io.renren.modules.generator.service.RobCaseManagementService;



@Service("robCaseManagementService")
public class RobCaseManagementServiceImpl implements RobCaseManagementService {
	@Autowired
	private RobCaseManagementDao robCaseManagementDao;
	
	@Override
	public RobCaseManagementEntity queryObject(Integer id){
		return robCaseManagementDao.queryObject(id);
	}
	
	@Override
	public List<RobCaseManagementEntity> queryList(Map<String, Object> map){
		return robCaseManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return robCaseManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(RobCaseManagementEntity robCaseManagement){
		robCaseManagementDao.save(robCaseManagement);
	}
	
	@Override
	public void update(RobCaseManagementEntity robCaseManagement){
		robCaseManagementDao.update(robCaseManagement);
	}
	
	@Override
	public void delete(Integer id){
		robCaseManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		robCaseManagementDao.deleteBatch(ids);
	}
	
}
